package com.dc.project.model;

import java.io.Serializable;
import java.util.Date;

public class Exam implements Serializable {
	/**
	 * @Description:
	 * @author ShenHJ
	 * @date 2018年5月3日 上午11:21:50
	 */
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	private int exam_id;

	/**
	 * 考试名称
	 *
	 */
	private String exam_name;

	/**
	 * 考试开始时间
	 *
	 */
	private Date start_time;

	/**
	 * 考试结束时间
	 *
	 */
	private Date end_time;

	/**
	 * 考试持续时间(分)
	 *
	 */
	private int exam_duration;

	/**
	 * 考试状态0未开始1进行中2已结束
	 *
	 */
	private int exam_state;

	/**
	 * 创建人用户id
	 *
	 */
	private int create_user_id;

	/**
	 * 创建人用户名
	 *
	 */
	private String create_user_name;

	/**
	 * 创建时间
	 *
	 */
	private Date create_time;

	/**
	 * 更新人用户id
	 *
	 */
	private int update_user_id;

	/**
	 * 更新人用户名
	 *
	 */
	private String update_user_name;

	/**
	 * 更新时间
	 *
	 */
	private Date update_time;

	/**
	 * 0删除1存在
	 *
	 */
	private int is_deleted;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	public int getExam_id() {
		return exam_id;
	}

	public void setExam_id(int exam_id) {
		this.exam_id = exam_id;
	}

	public String getExam_name() {
		return exam_name;
	}

	public void setExam_name(String exam_name) {
		this.exam_name = exam_name;
	}

	public Date getStart_time() {
		return start_time;
	}

	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}

	public Date getEnd_time() {
		return end_time;
	}

	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}

	public int getExam_duration() {
		return exam_duration;
	}

	public void setExam_duration(int exam_duration) {
		this.exam_duration = exam_duration;
	}

	public int getExam_state() {
		return exam_state;
	}

	public void setExam_state(int exam_state) {
		this.exam_state = exam_state;
	}

	public int getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(int create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(int update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public int getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(int is_deleted) {
		this.is_deleted = is_deleted;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", exam_id=").append(exam_id);
		sb.append(", exam_name=").append(exam_name);
		sb.append(", start_time=").append(start_time);
		sb.append(", end_time=").append(end_time);
		sb.append(", exam_duration=").append(exam_duration);
		sb.append(", exam_state=").append(exam_state);
		sb.append(", create_user_id=").append(create_user_id);
		sb.append(", create_user_name=").append(create_user_name);
		sb.append(", create_time=").append(create_time);
		sb.append(", update_user_id=").append(update_user_id);
		sb.append(", update_user_name=").append(update_user_name);
		sb.append(", update_time=").append(update_time);
		sb.append(", is_deleted=").append(is_deleted);
		sb.append("]");
		return sb.toString();
	}

}